﻿using ReflectionStudio.Components.UserControls;
using ReflectionStudio.Core.Events;
using System;
using System.ComponentModel;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace WPFExcelReport
{
    public partial class TYTWB04
    { 
        public TYTWB04()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return; 
            DataContext = new VTYTWB04();
            InitializeComponent();
            this.Name = "布卷入库";
            cWB04.LO = "01";
            cWB04.LB = "CP";
            cWB04.LP = "A      ".PadRight(8);
        }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            
        }

        private void EKWB(object sender, RoutedEventArgs e)
        {
            if (ZoneEKWB.Visibility == Visibility.Collapsed)
            {
                ZoneEKWB.Visibility = Visibility.Visible;
                ZoneWB.Visibility = Visibility.Collapsed;
            }
            else
            {
                ZoneEKWB.Visibility = Visibility.Collapsed;
                ZoneWB.Visibility = Visibility.Visible;
            }
        }
    }
}
